﻿using System;
using System.Text;
using System.Ext.Xml;
using System.Xml;
using System.Reflection;

namespace mfXmlSerializer
{
    /// <summary>
    /// represents the serialization strategy for arrays
    /// </summary>
    public class mfMapArrayElement : mfMapBaseElement
    {      
        #region CTOR

        public mfMapArrayElement(mfMapBaseElement baseElement)
            : base(baseElement.Name, baseElement.SetMethod, baseElement.GetMethod, baseElement.ChildMap)
        { }

        #endregion

        #region Methods

        protected override void SerializeElement(XmlWriter xmlWriter, object source)
        {
            throw new NotImplementedException("array serialization");
        }

        protected override void DeserializeElement(XmlReader xmlReader, object target)
        {
            throw new NotImplementedException("array deserialization");
        }

        protected override void ExecuteSetElement(object target, string newValue)
        {
            throw new NotImplementedException("executeSet");
        }

        #endregion
    }
}
